#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>
#include <string.h>

//https://leetcode.cn/problems/majority-element/

int cmpare(const void *A, const void *B) {
    return *(int *) A - *(int *) B;
}

int majorityElement(int *nums, int numsSize) {
    qsort(nums, numsSize, sizeof(int), cmpare);
    return nums[numsSize / 2];
}

int main() {

    return 0;
}